www.gusucode.com > 云网互动影视系统(12套模版和资源联盟) 6.2 > 云网互动影视系统(12套模版和资源联盟) 6.2.4/免费版/Admin/Labeling/WithLeb.asp
<html> <head> <META content=ywnt,云网互动影视管理系统 name=keywords> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>云网互动影视6.0--排行/更新标签</title> <LINK href="../css/css.css" type=text/css rel=stylesheet> </head> <BODY leftMargin=0 topMargin=0 scroll=yes MARGINHEIGHT="0" MARGINWIDTH="0"> <script language="JavaScript" src="../YWNT_TMS_Inc/YWNT_TMS_Common.js"></script> <!--#include file="../../Conn.asp" --> <!--#include file="../YWNT_TMS_inc/YWNT_TMS_Function.asp" --> <table class=table cellspacing=1 cellpadding=3 width="98%" align=center border=0> <tbody> <tr> <td colspan="4" class=xingmu>排行/更新标签</td> </tr> <form method="post" name="typelebForm"> <tr> <td width="19%" height=32 align="right" class="hback">所属栏目:</td> <td colspan="5" class="hback"><select name="ClassType" onChange="ClassTypestyle(this.value);" style="width: 150px;"> <option value="1">全部栏目</option> <option value="2">同类栏目</option> <option value="3">选择栏目</option> </select></td> </tr> <tr id="Se_Style" style="display:none;"> <td width="19%" height=32 align="right" class="hback">选择栏目:</td> <td colspan="5" class="hback"><input name="ClassName" type="text" size="30" readonly> <input name="typeid" type="hidden" id="typeid" value=""> <input type="button" name="SubmitClass" value="选择栏目" onClick="SelectClassLeb();"> <input type="checkbox" name="containSubClass" value="1">包含子栏目 </td> </tr> <tr> <td height=32 align="right" class="hback">选择地区:</td> <td height=32 colspan="3" class="hback"><%call LebRegion("Region")%></td> </tr> <tr> <td height=32 align="right" class="hback">排序方式:</td> <td height=32 class="hback"><select name="Sorting" style="width: 150px;"> <option value="1">影片ID(降序)</option> <option value="2">影片ID(升序)</option> <option value="3">影片更新时间(降序)</option> <option value="4">影片更新时间(升序)</option> <option value="5">点播次数(降序)</option> <option value="6">点播次数(升序)</option> </select></td> <td height=32 align="right" class="hback">新开窗口:</td> <td width="44%" class="hback"><select name="OpenStyle" style="width: 150px;"> <option value="1">是新窗口打开</option> <option value="2">否原窗口打开</option> </select></td> </tr> <tr> <td height=32 align="right" class="hback">显示数量:</td> <td height=32 class="hback"><input name="Volume" type="text" value="4"></td> <td height=32 align="right" class="hback">并排数量:</td> <td width="44%" class="hback"><input name="TdVolume" type="text" value="1"></td> </tr> <tr> <td height=32 align="right" class="hback">显示行高:</td> <td height=15 class="hback"><input name="Height" type="text" id="Height" value="24"></td> <td height=15 align="right" class="hback">显示内容:</td> <td height=15 class="hback"><input type="checkbox" name="ShowDate" value="1"> 更新时间 </td> </tr> <tr> <td height=32 align="right" class="hback">影片名称字数:</td> <td width="21%" height=16 class="hback"><input type="text" name="TitleVolume"></td> <td width="20%" height=16 align="right" class="hback">名称链接CSS:</td> <td height=16 class="hback"><input type="text" name="TitleStyle"></td> </tr> <tr> <td height=32 align="right" class="hback">导航类型:</td> <td height=16 colspan="3" class="hback"><input type="radio" name="DhPhotoXz" value="1" onClick="showThumbnail_RateOrSize(1,'DhPhotoDir')"> 图片 <input name="DhPhotoXz" type="radio" value="0" checked onClick="showThumbnail_RateOrSize(0,'DhPhotoDir')"> 数字</td> </tr> <tr id="DhPhotoDir"> <td height=32 align="right" class="hback">导航图案:</td> <td height=16 colspan="3" class="hback"><input name="DhPhoto" id="DhPhoto" size=45 maxlength="200"> <input type="button" name="Button" value="选择图片" onClick="var TempReturnValue=OpenWindow('../Dialog/SelectPic.asp?CurrPath=<% = CurrPath %>',500,290,window);if (TempReturnValue!='') document.typelebForm.DhPhoto.value=TempReturnValue;" class=Anbutc> <br><font color="#FF0000">导航图请命名为1.gif或是1.jpg一直命名到需要显示的数量数字部分请使用[I]代替</font></td> </tr> <tr> <td height=32 align="right" class="hback">行间图案:</td> <td height=16 colspan="3" class="hback"><input name="HjPhoto" id="HjPhoto" size=45 maxlength="200"> <input type="button" name="Button" value="选择图片" onClick="var TempReturnValue=OpenWindow('../Dialog/SelectPic.asp?CurrPath=<% = CurrPath %>',500,290,window);if (TempReturnValue!='') document.typelebForm.HjPhoto.value=TempReturnValue;" class=Anbutc></td> </tr> <tr> <td height=32 colspan="4" align="center" class="hback"><input type="button" onClick="ok(this.form)" name="Submit" value="添加"></td> </tr> </form> </tbody> </table> <script language="JavaScript"> function ok(obj) { var retV = '{$WithLeb('; if(obj.ClassType.value==2) { retV+= 'typeid,'; } else { retV+= formvalue(obj.typeid.value) + ','; } retV+= show(obj.containSubClass) + ','; retV+= formvalue(obj.Region.value) + ','; retV+= obj.Sorting.value + ','; retV+= obj.Volume.value + ','; retV+= obj.TdVolume.value + ','; retV+= obj.Height.value + ','; retV+= formvalue2(obj.TitleStyle.value) + ','; retV+= formvalue(obj.TitleVolume.value) + ','; retV+= show(obj.ShowDate) + ','; retV+= obj.OpenStyle.value + ','; if (obj.DhPhotoXz[0].checked) { retV+= obj.DhPhotoXz[0].value + ','; } else { retV+= obj.DhPhotoXz[1].value + ','; } retV+= formvalue2(obj.DhPhoto.value) + ','; retV+= formvalue2(obj.HjPhoto.value) + ')'; retV+='}'; InsertLabel(retV) } function formvalue(namevalue) { if(namevalue=="") namevalue='""'; return namevalue; } function formvalue2(namevalue2) { if(namevalue2=="") { namevalue2='""'; } else { namevalue2='"'+namevalue2+'"' } return namevalue2; } function show(namechecked) { if(namechecked.checked==true) { namechecked=namechecked.value; } else { namechecked='""'; } return namechecked; } showThumbnail_RateOrSize(0,'DhPhotoDir') function showThumbnail_RateOrSize(param,pname) { if(param==1) { document.getElementById(pname).style.display="block" }else { document.getElementById(pname).style.display="none" } } function ClassTypestyle(Str) { if (Str==3) { document.getElementById('Se_Style').style.display = ''; } else { document.getElementById('Se_Style').style.display = 'none'; } } <%if Request.QueryString("text")=1 then%> function InsertLabel(LabelContent) { window.returnValue=LabelContent; window.close(); } window.onunload=SetReturnValue; function SetReturnValue() { if (typeof(window.returnValue)!='string') window.returnValue=''; } <%else%> function InsertLabel(LabelContent) { var obj=dialogArguments.oUtil.obj; obj.insertHTML(LabelContent) window.close(); } <%end if%> </script> </BODY></HTML>